package com.it.rocketmp.producer.msg;

public class Msg extends Topic {
    // 定义需要到队列的数据
    private String data;
    /**
     * 编号
     */
    private Integer id;
    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "Msg{" +
                "data='" + data + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
